package com.extrace.server.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import javax.persistence.*;

@Entity
@Data
@Table(name="transnode")
public class Transnode {
    @Id
    private String id;
    private String name;
    private Integer type;
    @Column(name = "region_code")
    @TableField(value = "region_code")
    private String regionCode;
    private Double lat;
    private Double lon;
    @Transient
    @TableField(exist = false)
    private Region region;
}
